FROM alpine:3.15.4
USER root
RUN adduser -D app \
	&& mkdir -p /app/logs && mkdir -p /app/3rd && chown -R app:app /app && chmod -R 755 /app \
	&& apk update \
        && apk upgrade \
        && apk add --no-cache bash bash-doc bash-completion \
        && /bin/bash \
        && apk add tzdata busybox-extras && /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
        && echo 'Asia/Shanghai' >/etc/timezone \
	&& rm -rf /var/cache/apk/*
